package com.ibeeking.found.org.service.common.dos;

import com.ibeeking.found.common.base.BaseDO;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @ClassName MemberInfoFieldDo
 * @Description 会员扩展信息字段定义表
 * @Author ibeeking
 * @Date 2022-01-24 11:39
 **/
@Data
@TableName("employee_field")
public class EmployeeFieldDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 字段编码
     */
    @TableField(value = "code")
    private String code;

    /**
     * 字段名
     */
    @TableField(value = "name")
    private String name;

    /**
     * 字段配置类型 0-固有字段 1-自定义字段
     */
    @TableField(value = "field_type")
    private Integer fieldType;

    /**
     * 字段数据类型
     */
    @TableField(value = "data_type")
    private Integer dataType;

    /**
     * 字段输入提示
     */
    @TableField(value = "data_prompt")
    private String dataPrompt;

    /**
     * 字段长度
     */
    @TableField(value = "data_length")
    private Integer dataLength;


    /**
     * 字段是否可修改 0-否 1-是
     */
    @TableField(value = "has_modify")
    private Integer hasModify;

    /**
     * 字段是否要显示 0-否 1-是
     */
    @TableField(value = "has_show")
    private Integer hasShow;
}
